import _regeneratorRuntime from "@babel/runtime/regenerator";
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
import { setCard } from 'cpaas-front/lib/customize/cards';
import { dynamicWrapper } from "../utils/router/utils";
setCard({
  code: 'CPAAS_CommonlyUsed',
  component: function () {
    var _component = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
      return _regeneratorRuntime.wrap(function _callee$(_context) {
        while (1) {
          switch (_context.prev = _context.next) {
            case 0:
              return _context.abrupt("return", dynamicWrapper(window.dvaApp, ['cards/commonlyUsed'], function () {
                return import("../routes/Cards/commonlyUsed");
              }));

            case 1:
            case "end":
              return _context.stop();
          }
        }
      }, _callee);
    }));

    function component() {
      return _component.apply(this, arguments);
    }

    return component;
  }()
});